package com.dyoud.api.user.dto;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 修改用户密码
 * 
 * @author Jonathan
 * @date 2018/03/01
 *
 */
public class UpdatePasswordDto {
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 用户密码
     */
    @NotBlank(message = "用户密码不能为空")
    private String password;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
